package ModelLayer;


/**
 * Write a description of class Person here.
 * 
 * @author (Gruppe 2) 
 * @version (a version number or a date)
 */
public class Person
{
    private int id;
    private String name;
    private String address;
    private String phone;
    private String mail;
    
    public Person(int id, String name, String address, String phone, String mail)
    {
        this.id = id;
        this.name = name;
        this.address = address;
        this.phone = phone;
        this.mail = mail;
    }
    
    public int getId()
    {
        return id;
    }
    
    public String getName()
    {
        return name;
    }
    
    public String getAddress()
    {
        return address;
    }
    
    public String getPhone()
    {
        return phone;
    }
    
    public String getMail()
    {
        return mail;
    }
    
    public void setId(int id)
    {
        this.id = id;
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    public void setPhone(String phone)
    {
        this.phone = phone;
    }
    
    public void setMail(String mail)
    {
        this.mail = mail;
    }
}
